//跳转购物车
$(".shopCar .toCar").click(function () {
    if (user) {
        location.href = "../html/shoppingCar.html";
    } else {
        var lh = encodeURIComponent(location.href);
        location.href = "../html/login.html?returnUrl=" + lh;
    }
})